ScxV6Aggregate.Property Method

Gets or sets the value of a database property of the aggregate.

Parameters

Remarks

This is an alternative to using the Interface property to access database properties of an aggregate.

Example:

The following example written in VB.NET shows the Property property being used to set the serial port string of the secondary port of a modbus channel.

Dim Svr As ScxV6DbClient.ScxV6Server

Dim Obj As ScxV6DbClient.ScxV6Object

Dim Aggr As ScxV6DbClient.ScxV6Aggregate

' Connect to the server

Svr = New ScxV6DbClient.ScxV6Server()

Svr.Connect("MAIN", "", "")

' Find a folder on the system

Obj = Svr.FindObject("Modbus Channel")

' Get the historic aggregate from the object

Aggr = Obj.Aggregate("ConnectionPoint2")

' Set the port of the connection point

Aggr.Property("Port") = "COM1"

' Disconnect

Svr.Disconnect()


Disclaimer

Geo SCADA Expert 2020